﻿@model Dexter.Domain.Results.IPagedResult<object>

@if (Model.PageIndex > 1 && Model.TotalPages > 1)
{
	<link rel="prev" title="Previous page" href="@Html.Raw(U.SetPageToUrl(Model.PageIndex, ViewContext))" />
}

@if (Model.PageIndex < Model.TotalPages)
{
	<link rel="next" title="Next page" href="@Html.Raw(U.SetPageToUrl(Model.PageIndex + 1, ViewContext))" />
}